package com.imc.beans;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * GreetingList entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "greeting_list", catalog = "imcdbserver")
public class GreetingList implements java.io.Serializable {

	// Fields

	private GreetingListId id;

	// Constructors

	/** default constructor */
	public GreetingList() {
	}

	/** full constructor */
	public GreetingList(GreetingListId id) {
		this.id = id;
	}

	// Property accessors
	@EmbeddedId
	@AttributeOverrides({
			@AttributeOverride(name = "greeting", column = @Column(name = "greeting", length = 16777215)),
			@AttributeOverride(name = "result", column = @Column(name = "result", length = 16777215)) })
	public GreetingListId getId() {
		return this.id;
	}

	public void setId(GreetingListId id) {
		this.id = id;
	}

}